package junit.runner;

/**
 * The standard test suite loader. It can only load the same class once.
 * 标准的 test suite 加载器， 相同的类只会加载一次
 */
public class StandardTestSuiteLoader implements TestSuiteLoader {
	/**
	 * Uses the system class loader to load the test class
	 * 使用系统的 类加载器加载测试类
	 */
	public Class load(String suiteClassName) throws ClassNotFoundException {
		return Class.forName(suiteClassName);
	}
	/**
	 * Uses the system class loader to load the test class
	 *
	 * 不会再加载
	 */
	public Class reload(Class aClass) throws ClassNotFoundException {
		return aClass;
	}
}